package cc.magicjson.minigame.demo.ddd.infrastructure.config;

import cc.magicjson.minigame.demo.ddd.infrastructure.event.AntiCorruptionDomainEventPublisher;
import cc.magicjson.minigame.demo.ddd.infrastructure.event.GameEventListener;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EventConfig {
	private final AntiCorruptionDomainEventPublisher eventPublisher;
	private final GameEventListener gameEventListener;

	public EventConfig(AntiCorruptionDomainEventPublisher eventPublisher, GameEventListener gameEventListener) {
		this.eventPublisher = eventPublisher;
		this.gameEventListener = gameEventListener;
	}
}